<?php

class AdminRssDeleteController extends ApplicationController implements IExecutable
{
    public function exec()
    {
        $rss_model = new RssModel(DbConnection::COMMON_SPACE, true);
        $rss_model->delete(Env::getParam('id'));
        
        Location::go('/admin/rss/');
    }
}